﻿namespace TripleA.Core.Interfaces.Entities
{
    using System;
    using System.Collections.Generic;
    using System.Net;
    using Handlers;

    public class WebContext : Context, IWebContext
    {
        public string UserAgent { get; set; }
        public ICredentials Credentials { get; set; }
        public string Uri { get; set; }
        public Func<IWebContext, IEnumerable<Cookie>> CookieHandler { get; set; }
        public HttpResponse Response { get; set; }

        public WebContext()
        {
            CookieHandler = DefaultCookieHandler.Handle;
        }
    }
}